package model

import "gorm.io/gorm"

// 骑手与用户 聊天表
type DeliveryMessage struct {
	gorm.Model
	UserId     int `gorm:"type:int;commit:用户id"`
	DeliveryId int `gorm:"type:int;commit:闪送员id"`
}

//用户与客服 聊天表

type AdminMessage struct {
	gorm.Model
	UserId  int `gorm:"type:int;commit:用户id"`
	AdminId int `gorm:"type:int;commit:客服管理员id"`
}
